import request from '@/utils/request'

// 查询边坡地位移监测列表
export function listAiSurface(query) {
  return request({
    url: '/ai/aiSurface/list',
    method: 'get',
    params: query
  })
}

// 查询边坡地位移监测详细
export function getAiSurface(id) {
  return request({
    url: '/ai/aiSurface/' + id,
    method: 'get'
  })
}

// 新增边坡地位移监测
export function addAiSurface(data) {
  return request({
    url: '/ai/aiSurface',
    method: 'post',
    data: data
  })
}

// 修改边坡地位移监测
export function updateAiSurface(data) {
  return request({
    url: '/ai/aiSurface',
    method: 'put',
    data: data
  })
}

// 删除边坡地位移监测
export function delAiSurface(id) {
  return request({
    url: '/ai/aiSurface/' + id,
    method: 'delete'
  })
}
